package main

import (
	"fmt"

	"github.com/gofiber/fiber/v2"
)

type GetReq struct {
	Username string
}

func main() {
	s := fiber.New()
	s.Get("/get", func(ctx *fiber.Ctx) error {
		var req GetReq
		_ = ctx.QueryParser(&req)
		fmt.Printf("req: %+v \n", req)
		return ctx.SendString("success")
	})

	s.Listen(":80")
}
